import threading
import time

import pytest
from faker import Faker


@pytest.fixture()
def get_unique_name():
    # 获取时间戳
    tag_name = str(int(time.time()*1000))+threading.currentThread().name
    return tag_name


@pytest.fixture()
def get_member_datas():
    '''
    获取成员必填项
    :return:
    '''
    return (Faker('zh-CN').phone_number(), Faker('zh-CN').name(), [1], Faker('zh-CN').phone_number(), Faker().ascii_email())

